<?php
/**
 * Created by PhpStorm.
 * User: LYD
 * Date: 2019/1/30
 * Time: 22:35
 */
require "../intn.inc.php";
define("IS_CACHE",false); //是否开启缓冲区
IS_CACHE ? ob_start() : null;   //判断是否开启缓冲区
session_start();//开启$_SESSION
$temPl = new Templates();
$temPl->assign("yh",$_SESSION['admin']['username']);
$temPl->assign("qx",$_SESSION['admin']['permissions']);
$temPl->display("admin.tpl");
?>